<?php
// $Id: page.tpl.php,v 1.1 2010/03/18 13:42:12 zyxware Exp $
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://gmpg.org/xfn/11">
        <?php print $head ?>
        <title><?php print $head_title ?></title>
        <?php print $styles ?>
        <?php print $scripts ?>
        <!--[if lte IE 6]>
        <style type="text/css" media="screen">
            #rss-link { background-image: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://localhost/~user01/wordpress/wp-content/themes/chocotheme/images/ico-rss.png', sizingMethod='image'); }
            .post .date .bg { background-image: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://localhost/~user01/wordpress/wp-content/themes/chocotheme/images/date.png', sizingMethod='image'); }
            #main-bot { height: 150px; }
            .comment { height: 90px; /* That's min-height in IE6 */ }
        </style>
        <![endif]-->
    </head>
    <body class="home blog logged-in" style="background: #3A2820;">
        <!-- Page -->
        <div id="page">
            <!-- Header -->
            <div id="header">
                <!-- Logo -->
                <div id="logo">
                     <?php
                        global $base_path;
                        print '<h1 id="logo"><a href="'. $base_path .'">';
                        print $site_name;
                        print '</a></h1>';
                        if ($site_slogan) {
                            print '<div class="description">'. $site_slogan .'</div>';
                        }
                        ?>
                </div>
                <!-- END Logo -->
                <!-- Main Navigation -->
                <div id="nav">
                    <?php print theme('links', $primary_links) ?>
                </div>
                <!-- END Main Navigation -->
                <div class="cl">&nbsp;</div>
            </div>
            <!-- END Header -->
            <!-- Main Block -->
            <div id="main">
                <?php
                print '<a href="'. url('rss.xml') .'"  id="rss-link" >RSS </a>';
                ?>
                <div id="main-top">
                    <div id="main-bot">
                        <div class="cl">&nbsp;</div>
                        <!-- Content -->
                        <div id="content">
                            <?php print $breadcrumb; ?>
                            <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
                            <?php print '<div class="post ">'; ?>
                            <?php if ($tabs){
                                print '<div id="tabs-wrapper" class="clear-block">'; 
                            }
                            ?>
                            <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
                            <?php if ($tabs) {
                                print $tabs .'</div>'; 
                            }
                            ?>
                            <?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
                            <?php if ($show_messages && $messages): print $messages; endif; ?>
                            <?php print $help; ?>
                            <?php print $content ?>
                            <?php print '</div>'; ?>
                            <div class="navigation">
                                <div class="alignleft"></div>
                                <div class="alignright"></div>
                            </div>
                        </div>
                        <!-- END Content -->
                        <!-- Sidebar -->
                        <div id="sidebar">
                            <?php print $sidebar ?>
                        </div>
                        <!-- END Sidebar -->
                        <div class="cl">&nbsp;</div>
                    </div>
                </div>
            </div>
            <!-- END Main Block -->
			<!-- Footer -->
			<div id="footer">
                <p>
                    <?php print $footer_message ?>
                </p>
                <p class="rss">
                    <?php print '<a href="'. url('rss.xml') .'"   >Entries (RSS) </a>and'; ?>
                    <?php print '<a href="'. url('rss.xml') .'"  >Comments (RSS)</a>'; ?>
                </p>
                <div class="attribution">
                    Design by
                    <a href="http://cssmayo.com">
                        .css{mayo}
                    </a>
                    | Theme by
                    <a href="http://www.zyxware.com">
                        Zyxware
                    </a>
                </div>
            </div>
            <!-- END Footer -->
        </div>
        <!-- END Page -->
        <?php print $closure ?>
    </body>
</html>
    


